Automatic Recommendation of Software Design Patterns Using Anti-patterns in the Design Phase: A Case Study on Abstract Factory

نویسندگان

  • Nadia Nahar
  • Kazi Sakib
چکیده

Anti-patterns, one of the reasons for software design problems, can be solved by applying proper design patterns. If anti-patterns are discovered in the design phase, this should lead an early pattern recommendation by using relationships between antiand design patterns. This paper presents an idea called Antipattern based Design Pattern Recommender (ADPR), that uses design diagrams i.e. class and sequence diagrams to detect antipatterns and recommend corresponding design patterns. First of all, anti-patterns relating to specific design patterns are analyzed. Those anti-patterns are detected in the faulty software design to identify the required design patterns. For assessment, a case study is shown along with the experimental result analysis. Initially, ADPR is prepared for recommendation of the Abstract Factory design pattern only, and compared to an existing code-based recommender. The comparative results are promising, as ADPR was successful for all cases of Abstract Factory. Keywords—Software design, design pattern, anti-pattern, design pattern recommendation, abstract factory

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The Differences in Sensorimotor Rhythm Power During Performing In-Phase and Anti-Phase Patterns in Bimanual Coordination

Purpose: The sensorimotor cortex oscillations (frequency ranging between 12 and 15 Hz), commonly known as Sensorimotor Rhythm (SMR) has previously displayed a promising link between the performance of the visuomotor related to skill execution and part of psychology that is adaptive (e.g. the process linked attention which is automatic). This study examined the extent of SMR power in the executi...

متن کامل

Impact of Airflow on Moderating Thermal Conditions in Vernacular Houses; Case Study: Bandar-e Lengeh Houses in Hot and Humid Climate of Iran

As an example of extreme hot humid climate, the southern marginal rim of Iran is a perfect candidate for studying climatic patterns. Attention to climatic components in housing design process within this area is therefore essential. Benefitting from the airflow and avoiding heat and radiation are among the most effective approaches towards moderating heat conditions in hot and humid areas. ...

متن کامل

Improving Design Patterns by Description Logics: A Use Case with Abstract Factory and Strategy

This paper deals with problems in common design patterns and proposes description-logics-based modeling to remedy these issues. We exploit the TwoUse approach, which integrates OWL-DL, a W3C standard for description logics on the web, and UML-based modeling, to overcome drawbacks of the Strategy Pattern, that are also extensible to the Abstract Factory Pattern in a Model Driven Approach. The re...

متن کامل

Study People and Nature Connection in Built Environment to verify Aqa-Bozorg Mosque as Biophilic Design

In this era that new technology has affected human life, many research scientists believe that Biophilic design can improve human well-being.� Biophilic architecture can provide healthy spaces connected with nature and reduce stress and enhance longevity. Different researchers have identified and categorized different patterns in the Biophilic design. These patterns have a wide range of applica...

متن کامل

Effects of Proprioceptive and Visual Disturbance on Inphase and Anti-phase Hand Performance

Purpose: The present study aimed to investigate the effect of sensory and movement speed manipulations on bimanual coordination dynamics. Here we compared to what extent the absence and or bias of different sensory modalities affect performance of coordination of movements. Methods: Fifteen physical education students of Shahid Beheshti University (aged 18-25 years) were partici...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2015